package com.dubbo.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dubbo.service.HelloService;

//服务提供方实现类
@Service(loadbalance = "random")   //注意注解使用dubbo下的service
public class HelloServiceImpl implements HelloService  {
    @Override
    public String helloService(String name) {
        return "one zhangsan one:"+name;
    }
}
